projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d263690
)
Document the RUSTC/RUSTDOC build script env vars
author
Alex Crichton
<alex@alexcrichton.com>
Mon, 11 Jul 2016 16:57:19 +0000
(09:57 -0700)
committer
Alex Crichton
<alex@alexcrichton.com>
Mon, 11 Jul 2016 16:57:19 +0000
(09:57 -0700)
src/doc/environment-variables.md
patch
|
blob
|
history
diff --git
a/src/doc/environment-variables.md
b/src/doc/environment-variables.md
index 201c680ea2747f4bc44c0194b9f6d803f87dbcba..785e6b3a01a6676f97ca416ed353196be01c144e 100644
(file)
--- a/
src/doc/environment-variables.md
+++ b/
src/doc/environment-variables.md
@@
-88,6
+88,9
@@
let out_dir = env::var("OUT_DIR").unwrap();
[profiles][profile]).
* `DEP_<name>_<key>` - For more information about this set of environment
variables, see build script documentation about [`links`][links].
+* `RUSTC`, `RUSTDOC` - the compiler and documentation generator that Cargo has
+ resolved to use, passed to the build script so it might
+ use it as well.
[links]: build-script.html#the-links-manifest-key
[profile]: manifest.html#the-profile-sections